package com.an.blog.admin.domain.bo;

import com.an.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import com.an.common.core.domain.BaseEntity;

/**
 * 文章标签中间业务对象 blog_article_tag
 *
 * @author Ann
 * @date 2023-05-08
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class BlogArticleTagBo extends BaseEntity {

    /**
     * 文章id
     */
    @NotNull(message = "文章id不能为空", groups = { EditGroup.class })
    private Long articleId;

    /**
     * 标签id
     */
    @NotNull(message = "标签id不能为空", groups = { EditGroup.class })
    private Long tagId;


}
